#!/bin/sh

# Build jsmud if necessary
[ -f config.mk ] || ./configure || exit $?
[ -x build/jsmud.bin ] || make || exit $?

# Run jsmud
exec build/jsmud.bin "$@"
